package com.zrrd.mybatis_02.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author WanJl
 * @version 1.0
 * @title Classes
 * @description 班级实体类
 * @create 2024/10/13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Classes {
    /**
     * 班级id
     */
    private Integer id;
    /**
     * 班级名称
     */
    private String name;

    /**
     * 学生集合
     */
    private List<Student> students;
}
